<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/22
 * Time: 11:48
 */

namespace app\api\model;


class OrderDetail extends BaseModel
{
    public function goods()
    {
        return $this->hasOne('Goods','id','food_id');
    }
}